<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<%@ include file="/include/include.jsp" %>
</head>

<body>
	
	<%@ include file="/include/header.jsp" %>

	<%@ include file="/include/menu.jsp" %>
	
			
	<div id="mainContent">
		<h2><a href="${ctx}/${menu.url}">${menu.description}</a>&nbsp;-&nbsp;<a href="${ctx}/${empty currViewBarSubMenu_ ? submenu.url : currViewBarSubMenu_.url}">${empty currViewBarSubMenu_ ? submenu.description : currViewBarSubMenu_.description}</a></h2>
		
		<div class="tool-bar">
		</div>
		
		<div class="sarch-bar" id="searchDiv">
		</div>
		
		<div class="grid-list">
			<table class="grid" cellspacing="0">
				<thead>
					<tr>
						<td width="100">名称</td>
						<td width="80">值</td>
					</tr>
				</thead>
				<tbody>
					<c:forEach var="sysparam" items="${sysParams}" varStatus="status">
						
						<tr onmouseover="this.style.backgroundColor= '#A0CFEC'" onmouseout="this.style.backgroundColor= '#ffffff'">
							<td><div title="修改"  href="${ctx}/system/sysparam/${sysparam.id}/edit" class="modal-window modal-link">${sysparam.name}</div></td>
							<td>
								<c:if test="${sysparam.display eq 'option'}">${sysparam.value == 1 ? '按种类优先级匹配' : '按总数量优先级匹配'}</c:if>
								<c:if test="${sysparam.display eq 'input'}">${sysparam.value}</c:if>
							</td>
						</tr>
					
					</c:forEach>
					
				</tbody>
			</table>
			<t:page action="${ctx}/system/sysparam/list"/>
		</div>
	</div>
	
	<%@ include file="/include/script.jsp" %>

</body>

</html> 